import { createApp } from 'vue'
import App from './App.vue'
// 作用: 将浏览器的一些默认样式会进行重置统一
import 'normalize.css'
// 作用: 项目中 - 通用样式的处理
import '@/assets/styles/common.less'

import router from '@/router'

import XtxUI from './components' 

import { createPinia } from 'pinia'
import piniaPluginPersistedstate from 'pinia-plugin-persistedstate'

const pinia = createPinia()
pinia.use(piniaPluginPersistedstate)
const app = createApp(App)

app.use(XtxUI)
app.use(router)
app.use(pinia)
app.mount('#app')

// createApp(App).mount('#app')
